x86/HVM+shim: fix build when !CONFIG_GRANT_TABLE
authorJan Beulich <jbeulich@suse.com>
Fri, 2 Dec 2022 09:42:24 +0000 (10:42 +0100)
committerJan Beulich <jbeulich@suse.com>
Fri, 2 Dec 2022 09:42:24 +0000 (10:42 +0100)
commit100c3416b5cab2e06c774f68e1d7410cb0fc52b1
treec50a16eec2775630452d35fc2647b7ede44e899a
parent942f881eb1b4e90cbd2096e88551750092d2eaaa
x86/HVM+shim: fix build when !CONFIG_GRANT_TABLE

The HVM flavor of the hypercall handlers exists only when GRANT_TABLE is
enabled, while surrogate shim variants exist only for the purpose of PV.
(Also scratch out the Arm variant in that case; what exactly is used in
that cell of the new table row doesn't really matter.)

Fixes: 8523851dbc49 ("xen/x86: call hypercall handlers via generated macro")
Reported-by: Andrew Cooper <andrew.cooper3@citrix.com>
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
Release-acked-by: Henry Wang <Henry.Wang@arm.com>
master commit: 133f35f0f0cd0a415e599c20156aaaa5598356c0
master date: 2022-12-02 10:40:11 +0100
xen/include/hypercall-defs.c